package com.zqxq.lottery.service.sys.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zqxq.lottery.service.sys.ISysNewsService;
import com.zqxq.lottery.entity.po.sys.SysNewsPO;
import com.zqxq.lottery.mapper.sys.SysNewsMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


@Service
@Slf4j
public class SysNewsServiceImpl extends ServiceImpl<SysNewsMapper,SysNewsPO> implements ISysNewsService {


    @Override
    public void updateReaderNum(Long id, Integer num) {
        this.baseMapper.updateReaderNum(num, id);
    }
}
